package com.chixing.entity.DTO;


import com.chixing.entity.OrderCancelRules;
import com.chixing.entity.OrderDetail;
import com.chixing.entity.Orders;

public class OrderCancelEarlyDTO {
    //订单表
    private Orders orders;
    //订单详情表
    private OrderDetail orderDetail;
    //订单取消规则
    private OrderCancelRules orderCancelRules;

    public OrderCancelEarlyDTO(){

    }

    public OrderCancelEarlyDTO(Orders orders, OrderDetail orderDetail, OrderCancelRules orderCancelRules) {
        this.orders = orders;
        this.orderDetail = orderDetail;
        this.orderCancelRules = orderCancelRules;
    }

    public Orders getOrders() {
        return orders;
    }

    public void setOrders(Orders orders) {
        this.orders = orders;
    }

    public OrderDetail getOrderDetail() {
        return orderDetail;
    }

    public void setOrderDetail(OrderDetail orderDetail) {
        this.orderDetail = orderDetail;
    }

    public OrderCancelRules getOrderCancelRules() {
        return orderCancelRules;
    }

    public void setOrderCancelRules(OrderCancelRules orderCancelRules) {
        this.orderCancelRules = orderCancelRules;
    }

    @Override
    public String toString() {
        return "OrderCancelEarlyDTO{" +
                "orders=" + orders +
                ", orderDetail=" + orderDetail +
                ", orderCancelRules=" + orderCancelRules +
                '}';
    }
}
